/**
 * creation: 10-apr-2007
 */
package org.jfonia.harmony;

import org.jfonia.harmony.ChordType;
import org.jfonia.pitch.MusicalInterval;

/**
 * Standard chord used in western music (classic/pop/jazz), based on stacking of thirds,
 * possibly with non-root bass pitch. 
 * 
 * @author Wijnand
 *
 */
public class Chord
{
	protected MusicalInterval rootPitchClass;	 // reduced
	protected MusicalInterval bassPitchClass;	 // reduced
	protected ChordType chordType;
	
	public Chord(MusicalInterval rootPitchClass, MusicalInterval bassPitchClass, ChordType chordType)
	{
		super();
		// TODO Auto-generated constructor stub
		this.rootPitchClass = rootPitchClass;
		this.bassPitchClass = bassPitchClass;
		this.chordType = chordType;
	}
	
	public MusicalInterval getBassPitchClass()
	{
		return bassPitchClass;
	}
	
	public void setBassPitchClass(MusicalInterval bassPitchClass)
	{
		this.bassPitchClass = bassPitchClass;
	}
	
	public ChordType getChordType()
	{
		return chordType;
	}
	
	public void setChordType(ChordType chordType)
	{
		this.chordType = chordType;
	}
	
	public MusicalInterval getRootPitchClass()
	{
		return rootPitchClass;
	}
	
	public void setRootPitchClass(MusicalInterval rootPitchClass)
	{
		this.rootPitchClass = rootPitchClass;
	}
	
	
}
